<?php

class uploadMedicineResponse {
	public $out; // int
}

class uploadMedicine {
	public $in; // medicine_ws
}


class uploadPathology {
	public $in; // pathology_ws
}

class uploadPathologyResponse {
	public $out; // int
}


class uploadProfession {
	public $in; // profession_ws
}

class uploadProfessionResponse {
	public $out; // int
}


class uploadMedic {
	public $in; // medic_ws
}

class uploadMedicResponse {
	public $out; // int
}

class uploadSport {
	public $in; // sport_ws
}

class uploadSportResponse {
	public $out; // int
}

class uploadIdentityCardType{
	public $in; // identity_card_type_ws
}

class uploadIdentityCardTypeResponse {
	public $out; // int
}


class uploadSurgery {
	public $in; // surgery_ws
}

class uploadSurgeryResponse {
	public $out; // int
}

class uploadFamily {
	public $in; // family_ws
}

class uploadFamilyResponse {
	public $out; // int
}

class uploadPatient {
	public $in; // patient_ws
}

class uploadPatientResponse {
	public $out; // int
}

class uploadAnalysis {
	public $in; // analysis_ws
}

class uploadAnalysisResponse {
	public $out; // int
}

class downloadMedicines {
	public $in; // last_entity_syncronized
}

class downloadMedicinesResponse {
	public $out; // medicines_page
}

class downloadPathologies {
	public $in; // last_entity_syncronized
}

class downloadPathologiesResponse {
	public $out; // pathologies_page
}

class downloadProfessions {
	public $in; // last_entity_syncronized
}

class downloadProfessionsResponse {
	public $out; // professions_page
}


class downloadMedics {
	public $in; // last_entity_syncronized
}

class downloadMedicsResponse {
	public $out; // medics_page
}

class downloadSports {
	public $in; // last_entity_syncronized
}

class downloadSportsResponse {
	public $out; // sports_page
}


class downloadIdentityCardTypes {
	public $in; // last_entity_syncronized
}

class downloadIdentityCardTypesResponse {
	public $out; // identity_cards_page
}


class downloadSurgeries {
	public $in; // last_entity_syncronized
}

class downloadSurgeriesResponse {
	public $out; // surgeries_page
}

class downloadFamily {
	public $in; // last_entity_syncronized
}

class downloadFamilyResponse {
	public $out; // family_page
}

class downloadPatients {
	public $in; // last_entity_syncronized
}

class downloadPatientsResponse {
	public $out; // patients_page
}

class downloadAnalysis {
	public $in; // last_entity_syncronized
}

class downloadAnalysisResponse {
	public $out; // analysis_page
}

class segment_ws {
	public $point; // float
}

class raw_signal_ws {
	public $file_name; // string
	public $signal; // segment_ws
}

class final_signal_ws {
	public $final_segment; // segment_ws
	public $first_derivatite; // segment_ws
	public $second_derivative; // segment_ws
	public $third_derivative; // segment_ws
	public $fourth_derivative; // segment_ws
	public $exponential; // segment_ws
}

class analysis_result_ws {
	public $iar; // parameter_coord_ws
	public $aod; // parameter_coord_ws
	public $aos; // parameter_coord_ws
	public $systolic_delay; // parameter_coord_ws
	public $heart_rate; // float
}

class report_ws {
	public $comments; // string
	public $conclusion; // string
	public $comment_iar; // string
	public $comment_aos; // string
	public $comment_aod; // string
	public $background_surgeries; // string
	public $background_family; // string
	public $background_pathologies; // string
	public $background_medicines; // string
	public $habits_summary; // string
}

class analysis_ws {
	public $id; // int
	public $date; // date
	public $patient_id; // int
	public $medic_id; // int
	public $signal_frequency_id; // int
	public $raw_signal; // raw_signal_ws
	public $report; // report_ws
	public $result; // analysis_result_ws
	public $selected_segments; // selected_segment_ws
	public $final_signal; // final_signal_ws
	public $clinical_info_id; // int
}

class patient_ws {
	public $id; // int
	public $name; // string
	public $surname; // string
	public $birthdate; // date
	public $sex; // boolean
	public $address; // string
	public $telephone; // string
	public $cellphone; // string
	public $email; // string
	public $city; // string
	public $identity_card; // identity_card_ws
	public $profession_id; // int
	public $medic_id; // int
	public $sports; // patient_sport_ws
	public $surgeries; // patient_surgery_ws
	public $medicines; // patient_medicine_ws
	public $pathologies; // patient_pathology_ws
	public $habits; // patient_habits_ws
	public $family_background; // patient_family_ws
}

class medic_ws {
	public $id; // int
	public $name; // string
	public $surname; // string
	public $birthdate; // date
	public $sex; // boolean
	public $address; // string
	public $telephone; // string
	public $cellphone; // string
	public $email; // string
	public $city; // string
	public $identity_card; // identity_card_ws
}			

class medicine_ws {
	public $id; // int
	public $name; // string
	public $description; // string
}

class sport_ws {
	public $id; // int
	public $name; // string
	public $description; // string
}

class family_ws {
	public $id; // int
	public $name; // string
	public $sex; // boolean
}

class pathology_ws {
	public $id; // int
	public $name; // string
	public $initials;// string
	public $description; // string
}

class surgery_ws {
	public $id; // int
	public $name; // string
	public $description; // string
}

class uploadSignalFrequency {
	public $in; // signal_frequency_ws
}

class uploadSignalFrequencyResponse {
	public $out; // int
}

class downloadSignalFrequency {
	public $in; // last_entity_syncronized
}

class downloadSignalFrequencyResponse {
	public $out; // signal_frequency_page
}

class clinical_info_ws {
	public $id; // int
	public $patient_id; // int
	public $date; // date
	public $age; // int
	public $height; // int
	public $weight; // float
	public $ldl; // float
	public $hdl; // float
	public $total_cholesterol; // float
	public $triglycerides; // float
	public $glucemic; // float
	public $systolic_pressure; // float
	public $diastolic_pressure; // float
}

class signal_frequency_ws {
	public $id; // int
	public $name; // string
	public $frequency; // float
}

class selected_segment_ws {
	public $number; //int
	public $segment; // segment_ws
}

class parameter_coord_ws {
	public $x1; // float
	public $y1; // float
	public $x2; // float
	public $y2; // float
}

class identity_card_ws {
	public $type_id; // int
	public $number; // int
}

class profession_ws {
	public $id; // int
	public $name; // string
	public $description; // string
}

class identity_card_type_ws {
	public $id; // int
	public $name; // string
}

class last_entity_syncronized {
	public $remote_id; // int
}

class analysis_page {
	public $max_id; // int
	public $analysis; // analysis_ws
}

class family_page {
	public $max_id; // int
	public $family; // family_page
}

class identity_cards_page {
	public $max_id; // int
	public $identity_cards; // identity_card_type_ws
}

class medics_page {
	public $max_id; // int
	public $medics; // medic_ws
}

class medicines_page {
	public $max_id; // int
	public $medicines; // medicine_ws
}

class pathologies_page {
	public $max_id; // int
	public $pathologies; // pathology_ws
}

class patients_page {
	public $max_id; // int
	public $patients; // patient_ws
}

class professions_page {
	public $max_id; // int
	public $professions; // profession_ws
}

class signal_frequency_page {
	public $max_id; // int
	public $frequencies; // signal_frequency_ws
}

class sports_page {
	public $max_id; // int
	public $sports; // sport_ws
}

class surgeries_page {
	public $max_id; // int
	public $surgeries; // surgery_ws
}

class patient_pathology_ws {
	public $pathology_id; // int
	public $age_at_start; // int
	public $inherited; // boolean
	public $currently; // boolean
}

class patient_medicine_ws {
	public $medicine_id; // int
	public $dosage; // string
	public $age_at_start; // int
}

class patient_sport_ws {
	public $sport_id; // int
	public $age_at_start; // int
	public $hours_x_week; // int
}

class patient_surgery_ws {
	public $surgery_id; // int
	public $age_at_surgery; // int
}

class downloadAverages {
}

class downloadAveragesResponse {
	public $out; // averages_ws
}

class averages_ws {
	public $averages; // average_ws	
}

class average_ws {
	public $decade; // int
	public $sex; // boolean
	public $samples; // int
	public $aod_avg; // float
	public $aod_trust_interval; // float
	public $aos_avg; // float
	public $aos_trust_interval; // float
	public $iar_avg; // float
	public $iar_trust_interval; // float
}

class patient_family_ws {
	public $family_id; // int
	public $background_cardiac; // boolean
	public $background_diabetic; // boolean
	public $background_cholesterol; // boolean
	public $background_hypertension; // boolean
}

class mergeMedicine {
	public $in; // medicine_ws
}

class mergeMedicineResponse {
	public $out; // medicine_ws
}

class mergePathology {
	public $in; // pathology_ws
}

class mergePathologyResponse {
	public $out; // pathology_ws
}

class mergeMedic {
	public $in; // medic_ws
}

class mergeMedicResponse {
	public $out; // medic_ws
}

class mergeSport {
	public $in; // sport_ws
}

class mergeSportResponse {
	public $out; // sport_ws
}

class mergeIdentityCardType {
	public $in; // identity_card_type_ws
}

class mergeIdentityCardTypeResponse {
	public $out; // identity_card_type_ws
}

class mergeSurgery {
	public $in; // surgery_ws
}

class mergeSurgeryResponse {
	public $out; // surgery_ws
}

class mergeFamily {
	public $in; // family_ws
}

class mergeFamilyResponse {
	public $out; // family_ws
}

class mergePatient {
	public $in; // patient_ws
}

class mergePatientResponse {
	public $out; // patient_ws
}

class mergeProfession {
	public $in; // profession_ws
}

class mergeProfessionResponse {
	public $out; // profession_ws
}

class mergeAnalysis {
	public $in; // analysis_ws
}

class mergeAnalysisResponse {
	public $out; // analysis_ws
}

class mergeSignalFrequency {
	public $in; // signal_frequency_ws
}

class mergeSignalFrequencyResponse {
	public $out; // signal_frequency_ws
}

class patient_habits_ws {
	public $smoking; // boolean
	public $smoked; // boolean
	public $cigarettes_per_day; // int
	public $age_at_start; // int
	public $age_at_end; // int
	public $consumming_alcohol; // boolean
	public $automedication; // boolean
	public $sedentary; // boolean
	public $work_place; // string
	public $blocks_walked_per_day; // int
	public $stress_level; // int
	public $angry_level; // int
}

class uploadClinicalInformation {
	public $in; // clinical_info_ws
}

class uploadClinicalInformationResponse {
	public $out; // int
}

class downloadClinicalInformation {
	public $in; // last_entity_syncronized
}

class downloadClinicalInformationResponse {
	public $out; // clinical_info_page
}

class mergeClinicalInformation {
	public $in; // clinical_info_ws
}

class mergeClinicalInformationResponse {
	public $out; // clinical_info_ws
}

class clinical_info_page {
	public $max_id; // int
	public $clinical_info_list; // clinical_info_ws
}
?>